package icu.sehnen.service.impl;


import icu.sehnen.mapper.CategoryMapper;
import icu.sehnen.model.ProCategoryModel;
import icu.sehnen.service.ProCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class ProCategoryServiceImpl implements ProCategoryService {

    @Autowired
    CategoryMapper categoryMapper;


    @Override
    public List<ProCategoryModel> findAll() {
        return  categoryMapper.findAll();
    }

}
